package com.ykdl.member.kid.image;

import android.graphics.Bitmap;

public class RoundRectImageProcessor implements ImageProcessor {
	private int mWidth;
	private int mHeight;
	private float mRadius;

	public RoundRectImageProcessor(int width, int height, float radius) {
		mWidth = width;
		mHeight = height;
		mRadius = radius;
	}

	@Override
	public Bitmap process(Bitmap bitmap) {
		return ImageUtil.processRoundRectBitmap(bitmap, mWidth, mHeight,
				mRadius);
	}

}
